package bjut.zrpc.core.optimization.interfaces;

import bjut.zrpc.core.optimization.annotation.SPI;
import bjut.zrpc.core.optimization.message.ZRpcRequestMessage;

import java.net.InetSocketAddress;

/**
 * @Author: zhuzhiming
 * @Date: 2022/6/24 13:40
 */
@SPI(value = "netty")
public interface ZRpcRequestTransport {
    Object sendRpcRequest(ZRpcRequestMessage zRpcRequestMessage, InetSocketAddress  inetSocketAddress);
}
